package com.meizi.lushi.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.meizi.core.tool.api.PageUtils;
import com.meizi.core.tool.api.Query;
import com.meizi.lushi.dao.InOutfitDao;
import com.meizi.lushi.entity.InOutfitEntity;
import com.meizi.lushi.service.InOutfitService;


@Service("inOutfitService")
public class InOutfitServiceImpl extends ServiceImpl<InOutfitDao, InOutfitEntity> implements InOutfitService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<InOutfitEntity> page = this.page(
                new Query<InOutfitEntity>().getPage(params),
                new QueryWrapper<InOutfitEntity>()
        );

        return new PageUtils(page);
    }

}